/*
 * Created by: vadikv
 * Created: Sunday, March 16, 2008
 */

namespace OneDayModel.Services
{
    public interface IMailComposer
    {
        MailContext ComposeConfirmationMail(string userAlias, string confirmationId);
    }

    public struct MailContext
    {
        private readonly string subject;
        private readonly string body;

        public MailContext(string subject, string body)
        {
            this.subject = subject;
            this.body = body;
        }

        public string Subject
        {
            get { return subject; }
        }

        public string Body
        {
            get { return body; }
        }
    }
}